package com.edushare.common.vo;

import com.edushare.common.vo.auto._Curricula;

public class Curricula extends _Curricula implements NameComparision{
	private static final long serialVersionUID = -2869278330404036941L;

	public Curricula(){
		setCurriculaDesc("");
		setCurriculaName("");
		setTotalSemester(0);
		setUniversity(null);
	}

	public String getName() {
		return getCurriculaName();
	}

	public int compareTo(INameComparable o) {
		return getName().compareTo(o.getName());
	}	
}
